class CreateStyles < ActiveRecord::Migration
  def self.up
    create_table :styles do |t|
      t.string :name,:limit=>20
      t.integer :sex,:limit=>1
      t.string :sn,:limit=>20
      t.string :tee_size,:limit=>20
      t.text :description
      t.integer :sort_order,:limit=>2
      t.boolean :active,:default=>true
      t.timestamps
    end
  end

  def self.down
    drop_table :styles
  end
end
